 /*
 *
 *  Created by Ksenia Kosmich
 *  Created on Jan 4, 2012  3:11:22 PM
 *
 */

package com.gsma.calendar.android.util;

import android.content.Context;
import android.graphics.Typeface;


/**
 * Class description 
 */
public class UiUtilites {
	private static Typeface typeface;
	private static Typeface typefaceBold;
	
	

	
	public static Typeface getTypeface(Context context) {
		if(typeface == null) {
			typeface = Typeface.createFromAsset(context.getResources().getAssets(), "fonts/frutiger.ttf");
		}
		return typeface;
	}
	
	public static Typeface getTypefaceBold(Context context) {
		if(typefaceBold == null) {
			typefaceBold = Typeface.createFromAsset(context.getResources().getAssets(), "fonts/frutiger_bold.ttf");
		}
		return typefaceBold;
	}

}
